<template>
    <!-- 0代表样式组件，1代表真实组件 -->
    <div class="style-components-box"> 
        <img src="static/image/search.png" />
        <p>搜索框</p>
    </div> 
</template>
<script>
    import realName from '../../config/style-components-name';
    export default {
        data () {
            return {
                comName: realName.SEARCH
            }
        },
        methods: {

        },
        created () {
            // console.log("realName", realName)
            // console.log("comName", this.comName);
        },
    }
</script>
<style scoped>
    /* .test2 {
        background: red;
        width: 100px;
        height: 100px;
    } */
</style>